package d1_com.itheima.thread;

public class Test4 {
    public static void main(String[] args) throws Exception {
        Account acc = new Account("10086", 100000);

        //创建两个线程
        DrawThread t = new DrawThread(acc, "第一个人");
        t.start();//第一个人
        DrawThread t2 = new DrawThread(acc, "第二个人");
        t2.start();
    }
}
